/**
 * Copyright (c) 2017-2017 All Rights Reserved.
 */
package com.zbest.common.lang.validator;

import javax.validation.constraints.Min;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 
 *
 * @author Administrator
 * @version $Id: User.java, v 0.1 2017-5-7 下午11:12:53 Administrator Exp $
 */
public class User {

    @NotBlank
    private String name;

    @Min(value = 1)
    private int    age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

}
